package com.ginage.gaugemanager.service.api;

import java.util.List;
import java.util.Map;

import com.alibaba.fastjson.JSONArray;
import com.alibaba.fastjson.JSONObject;
import com.ginage.gaugemanager.mapper.entity.Gauge;


public interface IGaugeService {
	public List<Map<String, Object>> getName();
	public String addGauge(Gauge gauge);
	public Gauge getGauge(int id);
	public String [] editGauge(Gauge gauge);
	public int removeGauge(int[] ids);
	public int getGaugeMaxNum(Gauge gauge);
	public int isExist(Gauge guage);
	public List getAllGauges();
	public String getFactory(String departmentNum);
	public JSONArray searchGauge(Gauge gauge, int currentPage);
	public JSONObject getGaugeSpecification();
	public JSONObject getGaugeAccuracy();
	public JSONObject getGaugeModel();
	public JSONObject getGaugeManufacturer();
	public JSONObject getGaugeOwner();
	public JSONObject getGaugeCalibratePeriod();
	public JSONObject getGaugeFolder();
	public JSONObject getGaugeNames();
	public String getGaugeName(String gaugeNameAbbr);
	public String getDepartment(String departmentNum);
	public JSONArray getAllGaugesByPost();
	public JSONObject getGaugeRemainingDays();
	public JSONObject getDepartments();
	public JSONObject getCalibrationResult();
	public JSONObject getGaugeStatus();
	public JSONObject getOverViewInfo();
}
